/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/StateTreeInstanceData.h
Shrinks the array sizes to specified lengths. Sizes must be small or equal than current size.
void ShrinkTo ( const int32 NumStructs, const int32 NumObjects )