Added support to copy configuration