int data;
File f = new File("/sdcard/text4.txt");
         
         FileOutputStream outputStream = null;
         FileInputStream inputStream = null;
         BufferedOutputStream bout = null; 
         BufferedInputStream bin = null;
         try {     
          
          
          inputStream = new FileInputStream(result);
          bin = new BufferedInputStream(inputStream);
          outputStream = new FileOutputStream(f,true); 
          bout = new BufferedOutputStream(outputStream);     
          
       
          
          byte[] buffer = new byte[10000];  
          bin.read(buffer);
          
          if(buffer.length>5000)
                bout.write(buffer);
             
            
           
          if(f.length()>100000)
          {
           bin.close();
           bout.close();
          }

          } catch (Exception e) {   e.printStackTrace();  }
         */
 

 위의 소스가 제가 작성한 소스인데요. result 변수가 string 변수인데 bin.read(buffer) 이 부분에서

버퍼에 쓰여지는거 아닌가요? 그래서 버퍼의 사이즈가 일정크기가 넘으면 버퍼의 데이터를 파일에 복사하는 부분인데

어디가 틀렸는지 궁금합니다...이거때문에 며칠을 해매네요...파일아웃풋 부분 계속 봐도 헷갈리네요..ㅠㅠ