Another option if you have an external hard drive is use Apples’s inbuilt ‘Time Machine’ program to make a complete copy of your imac hard drive and then connect it to your new imac and transfer evertything to your new machine.
It is quite straightforward to do.