It’s easy to move your files and settings from another Mac or PC to your iMac. You can transfer information to your iMac from an old computer—or from a Time Machine backup on a USB storage device—either wirelessly, or with an Ethernet cable and adapters.
You might need to upgrade the macOS version on your older computer before you can transfer the information on it—Migration Assistant requires macOS 10.7 or later, but it’s best to update your older computer to the latest version possible. If you’re not sure which iMac you have or want to find information about other models, see the Apple Support article on your iMac, then drag files from the storage device to your iMac.
Restore your content. To learn how to restore your Mac from a Time Machine or other backup, see the Apple Support article How to move your content to a new Mac.