Copy namespace and class