Immigrants have poured into New York City in such large numbers during the 1990s that the population has increased slightly, even though more than 1 million people moved out during that time, new census figures show.