copyRelation method added