Is the iPhone 4 and the iPhone the same?

"iPhone" refers to iPhones in general and not a specific model.

"iPhone 4" is a specific model.

So, they are technically not the same thing. It's more common for people to refer to their iPhone rather than their iPhone 4 though.