I am trying to copy files of a user who is no longer with us to an archive folder in Sharepoint. I am doing it from their Onedrive account and trying to do folder copies direct to sharepoing. However I get this error a lot. Is there an easier way to copy files over to Sharepoint?

You can transfert to or from Onedrive to Sharepoint by Powershell script, but the limit there is 50 MB.
I had to develop a specific script to manage that problem, downloading locally the biggest files, and uploading these files.
Because, the moving were too often blocked and not finished.
This kind of script uses the CSOM library and the Microsoft.SharePoint.Clien
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-client-library-code
Here is a little part of my sample script :
#sharepoint online powershell to move files
$MoveCopyOpt = New-Object Microsoft.SharePoint.Clien
$Overwrite = $True
[Microsoft.SharePoint.Clie
$LocalCtx.ExecuteQuery()
If necessary, I can give you a link to the full script.