+ 1
String input, output; //Files name
try{
BufferedReader in = new BufferedReader(new FileReader(input));
PrintWriter out = new PrintWriter(output);
String aux;
while(aux=in.readLine()!=null) out.println(aux);
}catch(Exception e){
e.printStackTrace();
}