Error en programar el firmware.

Hi, my name is Victor, and I have a very important project. It is a robot arm with arduino on a smaller scale than a real one which when I put the firmware to the arduino gives me a problem and I do not know how to solve it, this firmware is copied from a website:

https://create.arduino.cc/editor/ProfeGarcia/a73ac91b-bb28-4df1-bc67-7d721ea0abd7/preview

The error is this:

Arduino:1.8.7 (Windows 8.1), Tarjeta:"Arduino/Genuino Uno"
C:\Users\usuario\Documents\Arduino\sketch_oct27a\sketch_oct27a.ino:67:1: warning: 'typedef' was ignored in this declaration
};
^
El Sketch usa 3562 bytes (11%) del espacio de almacenamiento de programa. El máximo es 32256 bytes.
Las variables Globales usan 259 bytes (12%) de la memoria dinámica, dejando 1789 bytes para las variables locales. El máximo es 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM5": Acceso denegado.
Problema subiendo a la placa. Visita http://www.arduino.cc/en/Guide/Troubleshooting#upload para sugerencias.
Este reporte podría tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.
IF YOU CAN HELP ME I WOULD THANK YOU SO MUCH AS IT IS AN IMPORTANT PROJECT, THANK YOU FOR THE ATTENTION AND READ YOUR ANSWERS.

Compiles and uploads just fine on CREATE to a UNO so has to be a port issue.

In device manager in windows does the UNO show up in COM / LPT ports when you plug it in and unplug it ?
If so what port. Would assume 5 as that's what you stated but just checking.

Is your a real or clone arduino ?
Clones may need additional drivers.

Is you USB cable a known good one ?

Are you using USB 2.0 or 3.0 ?
USB 3.0 has been known to cause issues