Question: how to transfer data from ps4 hard drive to new hard drive?
Answer: From the PS4 home menu, choose the Settings option.
Navigate to System > Backup and Restore > Back up PS4. ... 
Your PlayStation will restart once again when the process is complete, and a copy of your data should be saved to the external drive.