add -recurse to copy and fix a typo reported by mbreiden