//namespace needs to be converted into reference chain
for(String nsPart : nsClassifierReference.getNamespaces()) {
IdentifierReference idRef = ReferencesFactory.eINSTANCE.createIdentifierReference();
InternalEObject newProxy = (InternalEObject) EcoreUtil.copy(proxy);
String newFragment = newProxy.eProxyURI().fragment();
newFragment = newFragment.substring(0,newFragment.indexOf("_") + 1) + nsPart;
URI newURI = newProxy.eProxyURI().trimFragment().appendFragment(newFragment);
newProxy.eSetProxyURI(newURI);