Makes a copy of this into a new DataModelArray object
a DataModel to copy data from
a new data model, or null if an error occurred