copy all files first