Include string.h for memcpy