Do you mean like a phone
IPhones
Samsung
Moto z
Lge sorry if this isn't what you asked
This would be copy and paste.
When you select a text, you can use your keys CTRL and C to copy that same selected text. After this, you can use the paste feature by selecting CTRL and V. Doing this, your selected text will be copied and pasted to a certain location.
Which language? In Java it would simply be:
int count;