@Override
    public StagingValue copy(final Supplier<ByteBuffer> byteBufferSupplier) {
        final ByteBuffer newByteBuffer = byteBufferSupplier.get();
        ByteBufferUtils.copy(getFullByteBuffer(), newByteBuffer);
        return new StagingValueImpl(newByteBuffer);
    }
Copies the contents of this into a new {@link StagingValue} backed by the supplied buffer.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/store/StagingValueImpl.java