I dont think he got any of those memories. He only got Visions original memories back, since they’re backed up on his harddrives. Wanda’s Vision used his powers to unlock his mind. That’s all. He left because he needs to sort through his deaths, and rebirths.