TArray::Shrink

Shrinks the array's used memory to smallest possible to store elements currently in it.