It will depend on ASA 5510 software version. If you have pre 8.3 on ASA, then you first need to upgrade to any post new version as ASA5515 (FYI ASA5510 doesn't support 9.2 images and later)This will migrate the current configuration to 8.3+ style.
Now take the running-config and modify the naming convention of interface as per new device and paste it on ASA5515.
However make sure the both ASA has similar licensing.
Thanks