What does it mean when a guy says you're a lot alike?

I was talking to a friend about some personal problems and he said that we're really similar and that it's almost scary how alike we are. So I said that he mad it den like a bad thing an he said that it wasn't.
What does it mean when a guy says you're a lot alike?
Post Opinion