We propose a model to study the adaptation of an evolving population t
o a given environment. Using the Monte Carlo simulations we find how m
uch the phenotypes of individuals of the population and those required
by the environment may differ for the population to grow. We show tha
t survival chances are greater if the number of the phenotype's featur
es is smaller. In the case when a part of the population may colonize
an empty niche, we show that there is a minimum value of the similarit
y of the two environments in order that such a colonization may succee
d. We also show that the two populations differentiate with time.