in reply to Copy Statement

File::Copy and POSIX::strftime should get you started. For an example, refer to Version control system for the laziest of the lazy