> did they migrate peacefully to an existing country or take over lands someone else was living in?
The former. They legally bought land from Arab landowners. If the Arabs didn't want them there, they shouldn't have accepted their money.
https://en.wikipedia.org/wiki/Jewish_land_purchase_in_Palest...