changed key.copy to use key.cache_control