if you don't care to spend over US$100 for adapters you will use once, there are other approaches that can be used ti transfer the data, provided that older computer can run any version of macOS. There are two main contenders.
One is to connect a USB drive and copy the files onto it. USB-2 speeds are very comparable to the speed of Rotating Magnetic drives. USB-2 at 480 M bits/sec (48 M Bytes/sec) compared to 50 M bits/sec for typical drives. the drive would not slow down noticeably.
if you can get both computers onto the internet at the same time, without re-cabling, you already have a Highway (using Wi-Fi and/or Ethernet) that can be used to Share files from the older Mac to the newer Mac (and/or the reverse as well). This Highway is through the Switch functions of your Router, and the data is NOT sent onto the internet.
When you turn on File Sharing on the older Mac, its shared volumes can be seen as an external 'network' drives on the other Macs on your network. the credentials to access those shared files are the ones needed to READ those files on the old Mac.
Set up file sharing on Mac
EDIT: D.I. Johnson types way faster than I do. After posting, I see that they have provided another inexpensive solution that does NOT require your Mac to be able to run MacOS -- remove the Internal SATA drive and access it directly with that little non-enclosure adapter.