test null src pointer in memcpy