One shapes the story; the other polishes the sentence. Knowing which you need saves time and money.
Developmental editing addresses the big picture: structure, pacing, character, plot and theme.
Copyediting addresses correctness and consistency at the sentence level: grammar, syntax, punctuation and style.
Most manuscripts benefit from developmental work before any copyedit — polishing sentences that may later be cut is rarely efficient.