legal process for arrest