![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
(读写文件)下面代码采用缓冲的方式实现了将一个文件的内容复制到另一个文件的功能,下划线处应填写的代码是________。importjava.io.*;publicclassTest{publicstaticvoidmain(String[]args){try{FileInputStreamis=newFileInputStream(“D:\\from.txt”);FileOutputStreamos=newFileOutputStream(“D:\\to.txt”);BufferedInputStreambi=new_________________(is);BufferedOutputStreambo=newBufferedOutputStream(os);byte[]data=newbyte[1];while(bi.read(data)!=-1){bo.___________(data);}bo.flush();bi.close();bo.close();}catch(ArrayIndexOutofBoundsExceptione){e.printStackTrace();}catch(IOExceptione){e.printStackTrace();}}}