A copula -based approach to aggregation functions