public static void copyResource ( Resource . Readable readable , Resource . Writable writable ) throws IOException { readable . useReader ( reader -> writable . useWriter ( writer -> IOUtils . copy ( reader , writer ) ) ) ; }
Copy the content of one resources to another .