Can the third-party library files that python update to before 3.10 be copied directly?

See this thread for an example of what happens when code written for one version or Python gets moved into a different version:

My guess is that the person running the code accidentally, or deliberately, copied the dateutils from one site-packages to another.