Rename `deepcopy_internal` to `deepcopy_impl` and make it public (#62806)
It's explicitly suggested to be used in the `deepcopy` docstring, and
otherwise tests (like in ExplicitImports.jl) that check for only public
API usage will fail. e.g.:
https://github.com/SciML/RuntimeGeneratedFunctions.jl/pull/142