Raptors get needed guard depth.
Magic get a veteran player to help mentor there young players (Banchero, Wagner, Black, etc), and clear one of the many guards on their roster to give more minutes to their rookies and Fultz.
Mavericks get a young point guard to come off their bench.