What does it mean to arrange a piece of music? (keep in mind we are talking about writing here)

Answer:
Music arranging refers to the ability to orchestrate and re-work an existing piece of music
Explanation:
More...
Arranging music with new or different chords, rhythms, chord substitutions, grooves, instrumentation, etc. It’s basically an extension of the skill of music composition.