Replacing a unit

What is the best way to transfer a configuration between two units? Ideally I would like it to retain historical data. I currently have the old unit SD card backed up completely. The unit is using one integration.

Move or copy the SD card.