Detainment is a temporary, brief stop based on reasonable suspicion for investigation (like a Terry stop), where you're not free to leave but not formally charged, while arresting is a formal seizure of a person based on probable cause, leading to transport to a facility and formal charges...