public Element copyAttrsOnly(){
  int alen=attrLength();
  Element attrs=new Element(alen);
  Object[] attrParts=attrs.parts;
  assert (attrParts.length == NEED_SLOP + alen);
  System.arraycopy(parts,parts.length - alen,attrParts,NEED_SLOP,alen);
  return attrs;
}

public Element copyAttrsOnly ( ) { int alen = attrLength ( ) ; Element attrs = new Element ( alen ) ; Object [ ] attrParts = attrs . parts ; assert ( attrParts . length == NEED_SLOP + alen ) ; System . arraycopy ( parts , parts . length - alen , attrParts , NEED_SLOP , alen ) ; return attrs ; }
return an anonymous copy of self , but only with attributes .
