Valeo interview question

Write code to merge two arrays