These people are usually highly disliked by most people due to their big ego and arrogant attitude.
A synonym for this word is "the shit". "The Shit" means exactly the same thing.
"Did you hear him? Yeah i did, he (is such a cocky shit / thinks he's the shit), he thinks he is so cool but he's not."