This replaces the usage of the old `BKE_blendfile_write_partial` API by the new `PartialWriteContext` class, in the code generating the 'copy buffer' blendfile used for copy-pasting video sequences. This is an interesting example of advanced/complex ID dependencies handling with the new `PartialWriteContext`, as the 'main. scene storing VSE data needs to be created (instead of copying the existing scene), and then the ID dependencies of its sequences need to be filtered based on their types. There is no behavioral changes expected here. Pull Request: https://projects.blender.org/blender/blender/pulls/122118 Pull Request: https://projects.blender.org/blender/blender/pulls/123993