Corrected array space usage in merge-sort.
Bubble sort will not change the original array now.