code: public void moveSourceToDest(LineNumberReader reader, PrintWriter dataOut)
      {
          try {
              String string;
              while ((string = reader.readLine()) != null)
              {
                  if (string.indexOf("/*") != -1)
                      foundComment = true;
                  if (!foundPackage)
                  {
                      if (string.indexOf("package") == -1)
                      {
                          if (string.indexOf("/*") != -1)
                              continue;
                          if (string.indexOf("*/") != -1)
                              continue;
                          if (string.indexOf("opyright") != -1)
                              continue;
                          beforePackage = beforePackage + this.convertString(string) + lineSeparator;
                          continue;
                      }
                      else
                      {
                          foundPackage = true;
                          dataOut.write("/*" + lineSeparator);
                          dataOut.write(beforePackage);
                          dataOut.write(" * Copyright © 2013 jbundle.org. All rights reserved." + lineSeparator);
                          dataOut.write(" */" + lineSeparator);
                      }
                  }
                  string = this.convertString(string);
                  if (string != null)
                  {
                      dataOut.write(string + lineSeparator);
                  }
              }
              if (!foundPackage)
                  dataOut.write(beforePackage);
          } catch (FileNotFoundException ex)  {
              ex.printStackTrace();
          } catch (IOException ex)    {
              ex.printStackTrace();
          }
  
      }
docs: MoveSourceToDest Method.