In this recipe, we will use an array to hold two instances. Then we will change the contents for this array to hold another two instances. Two birds will fly towards the fence at the same time and then two other birds will do the same. The same array will change the
Model instances in its list.
We will use an existing project that makes the four birds fly towards the fence at the same time.