https://www.sandordargo.com/blog/2020/09/08/stl-alogorithms-tutorial-part-15-unique_copy