Build error with copying.

When I try to build my project,I get an error saying that it is unable to:

“Copy C:/Program Files/Unity/player/Editor/Data/PlaybackEngines/WindowsStandalonePlayer/player_win.exe to Temp/StagingArea/player_win.exe”

Does anyone know how to fix this?

Close and reopen Unity, this should cleanup the Temp folder. Seems there are some remnants in there. Make sure no other build processes are running at the same time.

Or maybe you don’t have write access to your project?