Copy one environment into another recursively.
copy_env(to, from)
environment. The new environment.
environment. The old environment.
Both to and from must be pre-existing environments or this function will error.
to
from