Target Disc Mode from 2009 Mac mini to 2019 iMac
You should be able to connect the two machines directly with an Ethernet cable (if you do not have cabling already) and then enable file sharing on one machine, and locate that machine on the other so it shows up in Finder as a mounted disk.

Then you can just drag and drop the files.