CFY-1840 added is_recovery flag and file copy command to include hidden folders