last year of high school project RC Car

So I'm doing a project for school and I am building a remote controlled car. I'm working with IR to control it, but I have a problem. How do I compare incoming IR signals with my already saved Ir signals?

please see the att. for my project so far

Arduino_RC_Car.ino (5.78 KB)

could I change it to a string and then compare the strings?