Here is how you can solve your problem.
Problem: An error occurred while trying to create a file in the destination directory. access is denied.
Solution: Run the update setup file(manual update), with a file name like “CodeSetup-stable-…exe”, which is located at:
C:\Users\<your_pc_username>\AppData\Local\Temp\vscode-update-user-x64