Add a copy_from body to copy a local file if it is different from the existing
copy and preserve file permissions on the local copy.

(cherry picked from commit f782e6e0cb41692eebf50d188f49c7581cc54b3d)

Conflicts:
	lib/3.7/files.cf
Consolidate paths of common binaries on FreeBSD, NetBSD and OpenBSD

(cherry picked from commit 8f333443d600a2ea1def509bd082b201f6b13636)

Conflicts:
	lib/3.7/paths.cf