Create append

A program that, given two double arrays and the respective sizes and a third array of double, copy for this third array, first the elements from the first array, and then, the following are the elements of the second, returning the size of the third array at the end of the operation.