It's a weird thing to say. Are you sure it's not "It was you"? If "I was you" is right, the only sense I can make of it is that Guy was so much under Robin's influence that he felt he was him.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.