An easier way to do this rather than trying to get a double team match in pokemon sv is to only have 2 pokemon in your party (your smeargle and the pokemon with the move you want to learn). Next knock out your smeargle on purpose. Then start a battle with another smeargle (they're everywhere in the polar biome in the dlc) use baton pass, then revive your smeargle, swap it in then click sketch and boom your done. (adding this just to give new searches better info)