To transfer files between computers with different operating systems, you should use an external hard disk with formatting that is compatible with both Windows and macOS. Alternatively, you can use Migration Assistant if you run OS X Lion and later.