Question: how to transfer health data to new iphone?
Answer: Launch the 'Health' app on the iPhone from which you're exporting the health data.
Open 'Health Data' tab from the bottom.
Touch on the 'User' icon at the upper-right corner.
Then tap on 'Export Health Data' on the next screen.