Does the iPhone6 have the EXACT same ports as the iPhone 4?

Does the iPhone6 have the EXACT same ports as the iPhone 4? - 1

I want to know if I can use the same accessories on it or if I will have to buy new ones.

Ports as in, the charging port? Completely different. Just about every accessory you have for the iPhone 4 won't work with the iPhone 6.

No.

The charging/USB port is different. If the accessories you use are for this port, that will need to be replaced.

The earphone/mic port is the same. If the accessories you use are for this port, then can continue to be used - assuming the app supporting the accessories works with the current version iOS.

Headphones is the same, but it charges with lightning port and the future is lightning port. Its faster and doesn't have pins that can bend or break like the old charging port that 4 had. Its also much thinner so it gains back space for more stuff inside the phone.
I think they plan on moving everything to lightning port in future including headphones so its all through the same connection.