Check that the folder is not locked
A running process keeps a handle open and robocopy will skip files. **Get-Process** filtered on the executable name finds the obvious culprits before you start moving gigabytes.
Get-Process | Where-Object Path -like 'C:\Program Files\HeavyApp*' | Select-Object Name,Id,Path
Stop-Process -Name HeavyApp -Force -ErrorAction SilentlyContinue