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