http://www.perlmonks.org?node_id=533629


in reply to help needed in File::copy

I didn't test it, but the destination file opening line in that module is:
open($to_h,"> $to\0") or goto fail_open2;
so it should override the file ...

Enjoy,
Mickey