If you post your code between code tags, we will be able to read it.
However, from a quick scan, I'd say you can't compare the int returned by Serial.read to an array.
If you go back to your post, click on "modify", then highlight the code, click on the # icon on the editors toolbar, then click on "save".
Edit: ok, you're not comparing an int to an array, but if you'd posted correctly, that would've been more obvious.