add copy files to container function