Allow yadc to be automatically enabled with an environment variable
Add copy_from_inner() in a couple more locations