start debugging memcpy problem