fix an issue in ruby lib: node.attributes broken since using alias_native
- not sure why attributeNames cannot be used with alias_native
Implement copy for IGXMLMode