I found an article....
The idea that fish have special abilities to fit any given tank has developed out of a long term and widespread lack of understanding of their requirements. As we learn more about their needs and requirements, and information becomes more widely available, we need to question some of the long held myths surrounding fishkeeping.
A lack of information and understanding has led to many fish being housed inadequately. Some individual fish are robust enough to survive these conditions but their growth and health suffer as a result and they become stunted. This has given the impression that they have ‘grown to the size of their tank’. ‘Stunted’ means that a fish has not grown at the right speed, and to the right size, for its species.
Cold blooded animals are able to grow throughout their entire lives (Ettinger, date unknown). If a fish kept in a small tank is moved to a larger one it may well have a growth spurt as it takes advantage of improved living conditions. This can add to the illusion that it ‘grew to the size’ of the small tank and is now ‘growing to the size’ of the new, bigger one.