Question: how to transfer all files from one icloud account to another?
Answer: iCloud Drive. Save data from your iCloud Drive to a computer before turning off this service. You can use the Finder on a Mac or through iCloud.com if you use a PC. Simply move the data to your new Apple ID once it is set up.