Use a List instead. In the end, if you want, you can convert it back to an String[].
BufferedReader abc = new BufferedReader(new FileReader(myfile));
List data = new ArrayList();
String s;
while((s=abc.readLine())!=null) {
data.add(s);
System.out.println(s);
}
abc.close();