docs: public static void copy(String in, Writer out) throws IOException {
          assert in != null : "No input String specified";
          assert out != null : "No output Writer specified";
  
          try {
              out.write(in);
          } finally {
              try {
                  out.close();
              } catch (IOException ex) {
              }
          }
      }