To port your music and related content from Play music to YouTube Music, you can use Google Takeout if you want them downloaded to your device. Or else, visit https://music.youtube.com/transfer to start the porting process. It might take any amount of time to complete the porting process, as it depends on the size of the content.