Question: how to transfer all data from one switch to another?
Answer: Select System Settings from the Home screen on your Nintendo Switch.
Select Users from the side menu. ... 
Select Transfer Your User Data.
Select Next.
Select Next.
Select Source Console to identify that this is the device you'll transfer data from. ... 
Select the account you want to transfer.