docs: def simxCopyPasteObjects(clientID, objectHandles, operationMode):
      '''
      Please have a look at the function description/documentation in the V-REP user manual
      '''
      c_objectHandles  = (ct.c_int*len(objectHandles))(*objectHandles)
      c_objectHandles = ct.cast(c_objectHandles,ct.POINTER(ct.c_int)) # IronPython needs this
      newObjectCount   = ct.c_int()
      newObjectHandles = ct.POINTER(ct.c_int)()
      ret = c_CopyPasteObjects(clientID, c_objectHandles, len(objectHandles), ct.byref(newObjectHandles), ct.byref(newObjectCount), operationMode)
  
      newobj = []
      if ret == 0:
          for i in range(newObjectCount.value):
              newobj.append(newObjectHandles[i])
  
      return ret, newobj