How to get the current date and time in the destination file when copying using Stream.CopyFrom?

Primary tabs

How can I get the current date and time in the destination file when I'm using Stream.CopyFrom because Stream.CopyFrom preserves the date and time of the source file.

Replies

%File provides a way to get creation and modification dates, but to set them you'll need OS level tools.

Took the easy way out by reading the source file and write it out to the destination file