Question: how to transfer files from onedrive to icloud?
Answer: Open another "Finder Window" on your Mac. Navigate to your "OneDrive Files". Once you have opened OneDrive Files, copy the file or folder from OneDrive and paste them on iCloud Drive's Folder. This is how you can migrate OneDrive photos and videos to iCloud Drive.