nspawn: use the mode_t of the source file for copy_file()

Instead of hard-coding the permission mode, stat() the source file and
use its mode to create the destination file.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>