Update utils.copyFile to preserve permissions

Added fs.chmodSync to utils.copyFile method to preserve file permissions when creating app folder.