title: How can i remove a word/line and replace it with a new one in a txt file (Java)?
body: <p>For example we have a .txt file:</p>
  
  <blockquote>
    <p>Name smth </p>
    
    <p>Year 2012</p>
    
    <p>Copies 1</p>
  </blockquote>
  
  <p>And I want to replace it with that:</p>
  
  <blockquote>
    <p>Name smth</p>
    
    <p>Year 2012</p>
    
    <p>Copies 0</p>
  </blockquote>
  
  <p>Using java.io.*.</p>