If you're replacing an older computer, the two easiest ways to move files between them are via backups or with an external drive. For example, you can restore a new Mac from a Time Machine backup of the old one; PCs have the similar File History feature. Alternatively, put files from your old computer to a hard drive, and then connect it to the new one and move them over.