Copy non-overlapping memory.
Defined in <SDL3/SDL_stdinc.h>
void * SDL_memcpy(void *dst, const void *src, size_t len);| void * | dst | The destination memory region. Must not be NULL, and must not overlap with src. |
| const void * | src | The source memory region. Must not be NULL, and must not overlap with dst. |
| size_t | len | The length in bytes of both dst and src. |
(void *) Returns dst.
The memory regions must not overlap. If they do, use SDL_memmove() instead.
It is safe to call this function from any thread.
This function is available since SDL 3.2.0.