The simplest method is using your cloud account. Ensure contacts are synced to Google or iCloud on the old phone. On your new device, just add that same account, and they will appear automatically. For a manual option, you can always export a single VCF file to transfer them.