Robocopy supports long file names by default. You don't need to use the "\\?\C:" notation.
On Win11, I was able to recreate your error and found that I needed to disable long file name support in robocopy in order to get it to work.
robocopy "\\?\D:\robocopyX.txt" "\\?\E:\robocopyX.txt" /e /256 /l
robocopy "D:\robocopyX.txt" "E:\robocopyX.txt" /e /l
robocopy /? | findstr.exe 256