Hello djgkng,
It sounds like you want to transfer your music files to a new device and are seeking methods to accomplish this. We will be happy to help.
There are several methods that you can take to ensure that your music is moved over.
You could make a Time Machine backup to preserve the data on the Mac: Back up your Mac with Time Machine
Second, if you would like to move more content over, this article explains how to use Migration Assistant to do so: How to move your content to a new Mac
Third, if you're concerned solely about your music, you could subscribe to Apple Music and then use sink library to sync your music across all your devices:
Turn on Sync Library with Apple Music
We hope this helps. Please feel free to contact us back if you need any further assistance.