avrdude: ser_open(): can't open device "\\.\COM4": Access denied
I think you used "Eclipse" and "Arduino" at the same time. so, I guess that a "com4 Port" conflict has occurred and the upload could not was done. 





restart  your computer and try to open "Arduino" first and upload. not open "Eclipse" at the same time.