[#BloombergLP-bdlbb-BlobUtil-copy-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtil.adoc[BlobUtil]::copy :relfileprefix: ../../../ :mrdocs: Copy into the specified `dst` starting at the specified `dstOffset` the specified `length` bytes starting at the specified `srcOffset` in the specified `src`. The behavior is undefined unless `0 <= dstOffset`, `0 <= srcOffset`, `0 <= length`, `dst || 0 == length`, `!dst || dstOffset <= dst‐>length() ‐ length`, and `srcOffset <= src‐>length() ‐ length`. Note that this operation does not require `dst` to have a blob buffer factory in that it does not create or destroy blobs ‐‐ it simply copies data from `src` into `dst`, so `dst` must already have room for `length` bytes of data added at `dstOffset`. == Synopsis Declared in `<bdlbb_blobutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void copy( xref:BloombergLP/bdlbb/Blob.adoc[Blob]* dst, int dstOffset, xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& src, int srcOffset, int length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#