You don't even have to worry about that, if you have the Pokemon you want to know the move and the Pokemon that has the move, despite gender even if both are male or female, if both are holding a mirror herb then open Picnic and then exit out.
If the Pokemon you wanted to learn the move has an empty spot for the move, it will know it when you leave the picnic.
So quick to do.
It’s a nice change, but one thing that they changed that I don’t understand why they did it is the fact that in Sword&Shield you were able to use a rare Candy to evolve a Pokémon that’s at level 100 for example if you had a Skwovet at level 100 you could use the rare candy to evolve it despite it being level 100.
But for some reason in Scarlet&Violet they took out this change so that once a Pokémon is at level 100 you can’t use a rare candy to evolve it.
So for instance say you didn’t know you had to have Primeape use Rage Fist 20 times and then level it up to evolve it so your Primeape winds up reaching level 100 without evolving and you didn’t find out about the evolution requirements until after it reach level 100.
This basically means that you could never evolve your level 100 Primeape. I just don’t see any good reason that you shouldn’t be able to evolve your level 100 Primeape using a rare candy.