Не вижу своей ошибки помогите, пожалуйста
package com.javarush.task.task18.task1808;
/*
Разделение файла
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
FileInputStream inputStream = new FileInputStream(reader.readLine());
FileOutputStream fileOutputStream1 = new FileOutputStream(reader.readLine());
FileOutputStream fileOutputStream2 = new FileOutputStream(reader.readLine());
reader.close();
byte[] arr = new byte[inputStream.available()];
if (inputStream.available() < 0){
int fullSize = inputStream.read(arr);
int half = fullSize % 2 == 0 ? fullSize / 2 : ( fullSize + 1 )/2;
fileOutputStream1.write(arr, 0, half);
fileOutputStream2.write(arr, half , fullSize );
}
fileOutputStream2.close();
fileOutputStream1.close();
}
}