Use `memcpy` instead of `strncpy` to copy bytes into a buffer that is not intended to be null terminated.