Smarter way of copying files: check modification times