What’s the difference between copywritting and microcopy?

What's the difference between microcopy and ux writing? I think UX writing is just a parent topic for microcopy, but I'm not sure.

From what I understand:

UX writing: Is concerned with all aspects of the user experience.

  • on-boarding instructions
  • marketing email copy?

Microcopy: UX writing that's close to the action. It's the copy that informs the user what action to take, and alerts them in case of an issue.

  • button cta text
  • warning notifications
  • copy in modals