code: protected void copyOtherFiles(File projectDir, File srcDir, File outDir, Replacement replaceFn, Set<String> extraIgnorefiles) throws IOException {
          if (archetypeUtils.isValidFileToCopy(projectDir, srcDir, extraIgnorefiles)) {
              if (srcDir.isFile()) {
                  copyFile(srcDir, outDir, replaceFn);
              } else {
                  outDir.mkdirs();
                  String[] names = srcDir.list();
                  if (names != null) {
                      for (String name: names) {
                          copyOtherFiles(projectDir, new File(srcDir, name), new File(outDir, name), replaceFn, extraIgnorefiles);
                      }
                  }
              }
          }
      }
docs: Copies all other source files which are not excluded