try using a different overload, there is apparently a known issue with copy_file