Welcome to Android Central! Are you talking about transferring the music files from the old phone to the new phone via Bluetooth, or streaming the music so that it plays on the new phone?
If you just want to transfer the files, it's probably easier to plug the old phone into your computer via USB and use Windows Explorer to copy the music files to the computer hard drive. Then connect the new phone to the computer and drag and drop the music files there.