fix cp command for restore

the restore creates and copy all the files in a sub folder of the same
name (ie etc/etc)