CONTENTS NAME SYNOPSIS DESCRIPTION RETURN NOTES AUTHOR #NAME File::Copy - Copy files or filehandles #SYNOPSIS use File::Copy; copy("sourcefile", "destinationfile") or die "Copy failed: $!"; copy("Copy.pm", \*STDOUT); move("/dev1/sourcefile", "/dev2/destinationfile"); use File::Copy "cp"; my $n = FileHandle->new("/a/file", "r"); cp($n, "x"); #DESCRIPTION The File::Copy module provides two basic fun