wrong param for memcpy