<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def DiffDoArrays(self, oldObj, newObj, isElementLinks):
 """Diff two DataObject arrays"""

      if len(oldObj) != len(newObj):
         __Log__.debug('DiffDoArrays: Array lengths do not match %d != %d'
            % (len(oldObj), len(newObj)))
         return False
      for i, j in zip(oldObj, newObj):
         if isElementLinks:
            if i.GetKey() != j.GetKey():
               __Log__.debug('DiffDoArrays: Keys do not match %s != %s'
                  % (i.GetKey(), j.GetKey()))
               return False
         else:
            if not self.DiffDataObjects(i, j):
               __Log__.debug(
                  'DiffDoArrays: one of the elements do not match')
               return False
      return True