Allocates a new block of data with atomic reference counting
semantics, and copies
block_size bytes of
Available since: 2.58
The number of bytes to copy, must be greater than 0
The memory to copy.
The data is owned by the caller of the function.