To back up the data on your old phone and restore it to a new/different phone, you can either backup via Google or using the built-in device back up. Once backed up, either login your Google account to your new phone or restore by connecting your external storage to it.