Dynamical analysis of a competition and cooperation system with multiple delays