Two ways that I know off
First disable Gmail contacts on your phone
Hook to iTunes next to summary tab you will have a option to sync contacts with iTunes select gmail enter name and password press sync on bottom right of iTunes
After its done uncheck the box that you just checked
It will ask keep contacts on phone or remove click keep
After that sync once more then remove phone
You know should have all your contacts locally on your phone still with gmail contacts on your phone off
All you do now is turn iCloud contacts on if not done so already
The other way is go to gmail site export your contacts to a file the go to
www.icloud.com and import the file .. The contacts will appear on your phone as long as iCloud is on.
Sent Into Orbit from my iPhone 4S using Tapatalk