Function: copy-overlay

Return a copy of overlay O.