# COPYHIST Command [GstarCAD 2018](Help%20System/GSTARCAD/2018/Index.md) → [Commands](Help%20System/GSTARCAD/2018/Commands/(Commands).md) → [C](Help%20System/GSTARCAD/2018/Commands/C/(C).md) The COPYHIST command is used to copy text of history records in command line to clipboard. ## Command Access: > **Command:** COPYHIST ## Function Description: All history records in command line will be copied to clipboard. ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/C/COPYHIST%20Command.md) · [GstarCAD 2017](../../../2017/Commands/C/COPYHIST%20Command.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/Commands/C/COPYHIST%20Command.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/C/COPYHIST%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/C/COPYHIST%20Command.md)