Summary:

Generally, if you order a unit to move into a space occupied by an enemy unit, the unit will interpret that order as instructions to attack the enemy unit. If the moving unit is non-combat, the unit will stop and ask for new orders.