Your Safari history is easily cleared by (on Phone): Settings/Safari/clear history and cookies. Not sure what data is on Safari. On your PC, in iTunes, I would: "Edit"/Preferences/Devices - then tick the box "Prevent iPods & I Pads from Synching Automatically. As I Phones have limited storage, I create an "iPhone" playlist of about 1000 songs. Then when you plug in the new phone, register it etc, and before you synch, go through each category - music, apps etc to "tell" I tunes which to synch. Safari should have nothing to do with music, films , Apps etc.
HTC U12 Plus review: Hands-on