add @deprecated comment for getCopyText