docs: public static boolean copy(InputStream input, OutputStream output, int bufferSize)
     {
        try
        {
           byte[] buffer = new byte[bufferSize];
  
           int read = input.read(buffer);
           while (read != -1) {
              output.write(buffer, 0, read);
              read = input.read(buffer);
           }
  
           output.flush();
        }
        catch (IOException e) {
           return false;
        }
        return true;
     }