@arr1 = (1, 22, , 52, 25, 3, 6, 8, 9, 10); @arr2 = (25, 52, 8); ... #result I need is as follows @arr1 now should has (1, 22, , 3, 6, 9, 10)