Yes, your approach so far is fine.
But you need to break your problem down into small steps you can achieve and test.
A development process
So for example, write a program which stores the first "KEVIN" in an array somewhere (call it seenNames), and then prints out a message each time it sees another "KEVIN".
Begin with picking better variable names than 'byte'.