It's quite simple:
/export file=text_backup
/import file=text_backup
Import has to be monitored and text backup checked for bindings to particular nonexistend interfaces or particular MACs which obviously change when you move from one device to another.
BTW which brand allows seamless transfer of configuration between contemporay devices and ability to set the needed same version of OS to make transfer easier?
Well, I did export on the new device, then reset config and import (on the same device] and many rows of exported backup.rsc produced error and when any error occurs during import loading is stopped. So I have to find the correct row, delete it or change it and then try to load again. It's not OK when I am unable to load config which I exported on the same device, is it ?
Regarding to trasferring of configuration, I'm not sure if there are any brand which allow it, but I'm pretty sure that Mikrotik could provide it. When I made a backup on RB951 and restore it on ax3, I was able to setup a few things by my hands to bring it to life, so why Mikrotik do not offer such a thing ? For example when importing the text backup "import file=backup.rsc --dry" to check if the rsc file is OK for loading or not ?