26 Eki 2014 ... I also had the problem, hence me stumbling on this post. I added the following line of code before and after a Copy / Delete. Delete. Copy.
c# - Deleting file, but is access denied - Stack Overflow
This summary was compiled by our editorial team from publicly available information for quick reading. For full details, refer to original reporting where available.