Fabian. #1 MemCopy( retarray, retarray, SizeOf(retarray[0]) * objectcount) If you copy from retarray to retarray, it will do nothing;-)