Implemented copying file permissions from source to destination files.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>