Question: how to transfer data from old iphone to new iphone with different apple id?
Answer: Step 1: Enable iCloud on your old iPhone. On your old iPhone, open the Settings app and make sure you're signed in with your Apple ID/iCloud account and you're connected to a Wi-Fi network. ... 
Step 2: Enable iCloud on your new iPhone and sync data. ... 
Step 3: Download purchased apps.