How to migrate contacts2.db between android devices (SELinux enabled)?
Contacts are stored in data/data/com.android.providers.contacts/databases. 

If you simply want to sync contacts in new phone, add same Google account on newer phone. It will automatically sync in background. 

You can also try Samsung SmartSwitch.