Allocates @byte_size bytes of memory, and copies @byte_size bytes into it from @mem. If @mem is %NULL it returns %NULL.
the memory to copy.
the number of bytes to copy.
a pointer to the newly-allocated copy of the memory, or %NULL if @mem is %NULL.
See Implementation
Allocates @byte_size bytes of memory, and copies @byte_size bytes into it from @mem. If @mem is %NULL it returns %NULL.