At least in java there are open source libraries that do this that are pretty standard. For instance, Mapstruct. It, for the most part is already automagic.
Doing it for a mapping feels like a deficiency in the code unless chatgpt is putting thoughts behind the variable names and reasoning about what mapping makes the most sense.