[Concept] [PATCH 01/21] mkimage: Move copy_file() higher in the file