I need help to solve this problem:

The function gets two
sorted arrays (together with their sizes), and fills the
third array using the contents of the two arrays, so that
the third array is also sorted

what is the stopping condiation? I am stuck and dont know how to start...