Retrieve a data from one collection and push it to new collection

I wonder know if there is a easiest way to retrieve an array of data from one collection, treat it (deal with the results to remove duplicates) and push the results on a new collection?

Thank’s for help