"Was like" means that he did something, in the past, and that you're not exactly sure what happened, but it was something like what you are telling/showing.
In general, it's meaning is simple and intuitive - the more similar a person is to oneself, the easier it is to get to know or understand that person.A second but related meaning of the phrase is...