The question contains a common misconception. Spain did not "drive people from the Iberian Peninsula" in 1492—rather, the Catholic Monarchs (Ferdinand II of Aragon, Isabella I of Castile) completed the Reconquista by conquering the Emirate of Granada, the last Muslim-ruled polity on the peninsula.
"Moors" (Latin *Mauri*) is an exonym for Muslim inhabitants of al-Andalus—Arab, Berber, and Iberian convert descent. They were not a single ethnic group. By 1492, many had lived in Iberia for 700+ years.
The Reconquista (718–1492) was a centuries-long process of Christian kingdom expansion, not a single expulsion event. 1492 marked political sovereignty over the whole peninsula; religious homogeneity was imposed gradually through conversion pressure, Inquisition, and staged expulsions (Jews 1492, Moriscos 1609).