Question: how do you get all three starters in pokemon moon?
Answer: Put up one of your duplicate starters (or really any Pokemon) for trade on the Global Trade System (GTS), and request one of the other starters for trade. ... 
Simply browse GTS for the starter that you want, and see what other people want in exchange.
Wonder Trade a lot.