SystemTools: Revert "Use copyfile(3) to clone files on macOS"
Revert !131 (merged) because it changed the semantics of the copy
operation w.r.t. the timestamp left on the new file. Further
investigation is needed to use copyfile
while preserving semantics.