Most new residents are Gen X and millennials, according to a new study.