Copy necessary parts of cached active context.