copies files with directory structure