memcmp corrected as memcpy