code: public void copyDirectory(PackageElement pe, DocPath dir) throws DocFileIOException {
          copyDirectory(getLocationForPackage(pe), dir);
      }
docs: Copy the given directory contents from the source package directory
  to the generated documentation directory. For example, given a package
  java.lang, this method will copy the entire directory, to the generated
  documentation hierarchy.
  
  @param pe the package containing the directory to be copied
  @param dir the directory to be copied
  @throws DocFileIOException if there is a problem while copying
  the documentation files