Yes, this would be possible if the latter group has automatic assignment enabled for it. 


Please navigate to Admin -> Groups -> click on edit next to the group you are moving the tickets to and Enable "Automatic Ticket Assignment."