A metapopulation model of competition type