wrong arg in memcpy