Just have a look at File::Copy.
In reply to Re: Duplicate and rename file? by Corion in thread Duplicate and rename file? by anbutechie