title: Java: Copy textfile content to another without replacing
body: <p>I want to take the content of one text file chosen by the user and add it to another text file without replacing the current content. So for example:</p>
  
  <p>Update: How do I add it to the second file in a numbered way?</p>
  
  <p>TextFile1:</p>
  
  <p>AAA BBB CCC</p>
  
  <p>AAA BBB CCC</p>
  
  <p>TextFile2: (After copying)</p>
  
  <ol>
  <li><p>EEE FFF GGG</p></li>
  <li><p>AAA BBB CCC</p></li>
  <li><p>AAA BBB CCC</p></li>
  </ol>
  
  <p>Update: I had to remove my code as it may be taken for plagiarism, This was answered so I know what to do, thanks for everyone helping me out.</p>