Hey there,
Thanks for reaching out to the Community!
We'd be happy to help out with your question on local files. Local files are files that aren't hosted by Spotify but can be imported to Spotify from your own devices. We recommend these files are stored on the device you wish to use them on as a large amount of local files may interfere with your online experience when being accessed from another device.
In regards to the transfer itself, if you are an Apple user you can transfer via the iTunes library to another Apple device. You can also transfer files via USB cable, the options you have depend on your personal setup.
Hope this cleared thing up.