Changes as per PR. Flags added.

Changes made as per PR comments.
time flag added (preserves mtime)
links flag added (copies symlinks instead of resolving)