Disabling copy content from the screen

Is it possible to disable copy content such as text, messages, error codes from the screen? In simple words, I want to disable the long-press function from the main screen.

See below posts