Question: how to transfer music files from itunes library to iphone?
Answer: Connect your iPhone to the computer with a USB cable. ... 
Unlock your iPhone and trust the computer. ... 
Click the device icon and choose "Music".
Check the option "Sync Music" and choose "Remove and Sync" in the new iTunes window.