Question: how to transfer apps for iphone to iphone?
Answer: Connect your previous iPhone to a Wi-Fi network.
Go to "Settings" > [your name] > "iCloud" > "iCloud Backup".
Turn on "iCloud Backup", click "Back Up Now", and wait for the process to finish.