added copy_relations() method to modesl