It's not wrong or bad to search for help, but it doesn't indicate mastery of the language you're using.
However if you routinely switch among 3-5 languages you will get confused by naming and idiomatic approaches.
Ex: 1. Was it toUpper or upper or upperCase ?
2. What was the most idiomatic way to filter some collection?
3. Was it justify-content and align-items or vice versa?
A good IDE will generally solve first
Presumably copilot should help with second by supplanting search.
Third one I do hope copilot would help there..
I would say not remembering the names of some method is not an indication of lack of mastery.
Even creators of popular libraries and programming languages have admitted they will use search to refresh their memory.
Secondly you don't necessarily need to know or master a language or tool for every kind of work. You can just choose to learn as you go along with it, in which case knowing how to search and use the most effective way to do something is very useful.