Go to Contacts and tap for the menu. One of the options will be Import/Export and the Export facility stores the contacts in V-card format. Transfer those to your PC or laptop then use the Import facility on the new 'phone when it's connected to the same computer