# COPYHIST Command [GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [C](Help%20System/GSTARCAD/2020/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--b336ecfa50f4.md) · [GstarCAD 2017](../../../2017/Commands/C/COPYHIST%20Command--b336ecfa50f4.md) · [GstarCAD 2018](../../../2018/Commands/C/COPYHIST%20Command--b336ecfa50f4.md) · [GstarCAD 2019](../../../2019/Commands/C/COPYHIST%20Command--b336ecfa50f4.md) · [GstarCAD 2021](../../../2021/Commands/C/COPYHIST%20Command--b336ecfa50f4.md)