Well, Dick can mean Richard, and cock has a few different meanings, that's why these words aren't censored.
It's not nice to go around insulting men or women using offensive swear words in real life. It's not cool, and it's not funny. It doesn't make you look hard. It's just wrong.