. reserveCapacity(_:) is there .releaseUnusedCapacity()?

I don’t know the capacity ahead of time so I over reserve. Once the array is finalized, is there anyway to release any unused capacity? I think this will require reallocate new block of memory and copy. But if this is a long running process, it’s fine to incur the copying?

Edit: I can just copy the array.