How to add one CollectionDatasource to the other CollectionDatasource

Hello Cuba Team!!

Is there any way to add one CollectionDatasource to the other CollectionDatasource.
I have CollectionDatasource cds1, CollectionDatasource cds2, CollectionDatasource ds3.

Here I want to add cds1 and cds2 to cds3.
something like cds3.add(cds1) and cds.add(cds2).

Please help me here.

Thank You!!

Hey!

    @Inject
    CollectionDatasource< Foo, [idTypeClass]> fooDs;
    @Inject
    CollectionDatasource< Bar, [idTypeClass]> barDs;   
 
    protected void copyItems(){
        fooDs.getItems().forEach(i -> barDs.addItem());
    }