AllocMem() and FreeMem() These are system-wide memory allocation and deallocation routines. They use a memory free-list owned and managed by the system. AvailMem() This routine returns the number of free bytes in a specified type of memory. TypeOfMem() This routine returns the memory attributes of a specified memory address. CopyMem()/CopyMemQuick() CopyMem() is a general purpose memory copy routine. CopyMemQuick() is an optimized version of CopyMemQuick(), but has restrictions on the size and alignment of the arguments.