Copies `src` segments to `dst` and optimizes the output during the copy. The number of segments used should match the result of `get_optimized_segment_count()` if called with source segments and their size.
source not stored for this graph (policy: none)
no test coverage detected