added copy flag - by default files are not recopied