title: FileInputStream vs FileReader
body: <pre><code>FileReader rd=new FileReader("new.mp4");
  FileWriter wr=new FileWriter("output.mp4");
  int ch;
  while((ch=rd.read())!=-1)
    wr.write(ch);
  
  wr.flush();
  wr.close();
  </code></pre>
  
  <p>When I use the <code>FileReader</code> and <code>FileWriter</code> to read and write an mp4 file, the <code>output.mp4</code> file can't be rendered well. But when I use <code>FileInputStream</code> and <code>FileOutputStream</code> instead it worked well.</p>
  
  <p>So can I conclude <code>FileReader</code> and <code>FileWriter</code> are only for reading and writing text?</p>