Add createCopyOfIDToValue

Use this function to create a copy of IDToValue.
Add a comment