Mistři v programování na #hovnokod

Java #220

public void execute(String _filein, String _fileout) throws IOException {
        File fin = new File(_filein);
        File fout = new File(_fileout);
        FileWriter fwout = new FileWriter(fout);
        int chars_read = 0;
        FileReader in = new FileReader(fin);
        int size = (int) fin.length();
        char[] data = new char[size];
        while (in.ready()) {
            chars_read += in.read(data, chars_read, size - chars_read);
        }
        in.close();
        fwout.write(new String(data, 0, chars_read));
        fwout.close();
    }

HovnoKod,