------
## 最终结论
```python
def re_arrange_array(arr, n):
    negative = []
    positive = []
    
    for num in arr:
        if num < 0:
            negative.append(num)
        else:
            positive.append(num)
    
    return negative + positive
```