I have to copy OutputStream to InputStream using StreamUtils.copy or something like that.
I have the following code:
public void save(ByteArrayOutputStream outputStream) {
        InputStream byteArrayInputStream = new ByteArrayInputStream(outputStream.toByteArray());  // I have to replace this code to StreamUtils.copy
        this.uploadObject(this.uuid.toString(), byteArrayInputStream);
    }
I have to replace this code InputStream byteArrayInputStream = new ByteArrayInputStream(outputStream.toByteArray()); to StreamUtils.copy or something like that.
