You can simply update the following registry entries then restart windows explorer to remove copilot from windows.
Manually using the following:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot]
"TurnOffWindowsCopilot"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot]
"TurnOffWindowsCopilot"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"HubsSidebarEnabled"=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001
After updating your registry you can simply open task manager and right click on "Windows Explorer" then select restart. Now copilot will be gone.

You can do this with a registry change,
Whenever making registry changes be sure to do a full backup first, I am not responsible for your mistakes.
Open your registry editor (regedit)
goto
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
right click on advanced and add new DWORD value "JumpListItems_Maximum" and assign the desired value in decimal format.

In most cases you do not need to restart anything, if you would like you can restart explorer using the task manager.
open task manager: Ctrl+Alt+DEL select task manager and under the processes tab right click on "Windows Explorer" and choose restart.

That's it, your done.
You can quickly bypass this error by using robocopy,
use run as administrator to open a command prompt and do the following:
robocopy /e /is /v /eta [driveletter]:\sourcefolder [driveletter]:\destinationfolder
/e Copies all subdirectories.
/is Includes the same files.
/v Produces verbose output, and shows all skipped files.
/eta Shows the ETA of the copied files.
First if you have not already install the IIS role on your windows system.
Open IIS and choose the top level folder(your server) then choose Server Certificates

Now choose Create Self Signed Certificate from the far right

friendly name should be the DNS name of the device you need to create the pem file for, then choose ok.
Now open the certificate manager on your system, to do this run mmc

File > Add/Remove snap-in
Choose Certificates > Add > Computer account > Next > Local computer > Finish > OK

Now expand the certificates folder you create the cert in, by default this is Personal > Certificates.

right click on the certificate you created and choose all tasks > export > next > No, > next > Base-64 > next >

pick a file name
filename.cer
Now, you can rename the .cer file to .pem and that's it you're done.

This can be one of the most frustrating errors because your UNC path may work from some computers but not others. If you are receiving this error the following steps should solve the issue.
Go to Control Panel
- change the view by to small icons
- select "User Accounts"
- select "Manage your credentials"
- select "Windows Credentials"
- then "Add a Windows Credential"

Now enter your UNC server and share path for example: \\UNCServer\SharedFolder
Username and password, then click OK.
Now you should be able to access your UNC share from the windows explorer shell.