Changed Fileutils.copy to Fileutils.cp_r so that we can copy directories too