A useful way to transfer contacts is to export them to a vcard file, which you can then upload to cloud storage or email to yourself. When you get the new device, save the file to it, then choose Import from the Contacts menu and away you go.
It's always a good idea to keep a periodic backup this way, just in case anything goes wrong or (worst case) the service you've sync'd to goes down.