Here's an easier way:
Just copy all your contacts to your sim card (you need to explore settings on your phone, there's almost always an option to copy all your contacts to your sim), then slot that into the iPhone, go to settings --> address book --> copy all contacts from sim.