code: public static void copy(final File sourceFile, final String destDirectory, final boolean verbose) throws IOException {
          String destFileName = PACKAGE_HTML_NAME;
          if (sourceFile.getName().endsWith("java")) {
              destFileName = PACKAGE_JAVA_NAME;
          }
  
          final File destFile = new File(destDirectory + File.separatorChar + destFileName);
          if (verbose) {
              log.info(String.format("Copying packageInfo from: %s to: %s", sourceFile.getAbsolutePath(), destFile.getAbsolutePath()));
          }
  
          FileUtils.copyFile(sourceFile, destFile, true);
      }
docs: Copies the given sourceFile into the specified directory. The source file post fix
  defines which variant of the package info file is created.
  <p>
  If the source file ends with <code>.java</code>, then the destination file name is <code>package-info.java</code>
  otherwise the file name is <code>package.html</code>.
  
  @param sourceFile
  @param destDirectory
  @param verbose
  @throws IOException