preserve file timestamp attributes

As discussed in #186
Preserve the timestamp attributes  when copy files or directories.
Only when src file and dest file with the same name, the attributes are preserved.

cc @sindresorhus @shama