Copy state from config.