I am copying text from files within a temp folder to files within another folder. It works perfectly up until the last file in the set. It then will give me a permission denied error. Only for the last file in the set I can rename it so it will be done earlier and it will go fine and the new last one will fail.