Writer is a professional who uses written words in varies techniques to communicate ideas, thoughts, stories or poems for publication.
Editor is a professional who is in charge of determining the final contents of a print or media publication.
Copywriting is the profession of writing prose for advertisements aimed at increasing brand awareness to promote and sell products or services.