Create swap_array_pointer