Question: how to transfer itunes library from old iphone to new phone?
Answer: On the new iPhone, open the Settings app and tap Music.
Toggle 'Show Apple Music' and 'iCloud Music Library' on (make sure you have a decent Wi-Fi connection).
Your iCloud Music Library should then download on the iPhone.