Merge 2 halves of unsorted array

You are given an unsorted array and you need to merge 2 parts of it