For the copy goal, using rsync instead of FileUtils. Preserves file flags and works