On a bit of a whim I've spent some time on and off during the past couple of weeks looking through the New Answers to Old Questions feed, and I have noticed a recurring pattern of plagiarism.  A few times each day, an answer is posted that consists entirely of multiple lines of code copied from some other answer **to the same question** without attribution.  Can some sort of automated filter be implemented that blocks such trivially plagiarized answers?

Adding some details, the pattern I have noticed is:

 - A new answer to an old question.

 - By a new 1-rep account.

 - Consisting **entirely** of multiple lines of code with no explanatory text.

 - That is copied **exactly** (including matching case) from some code block in another answer to the same question with no attribution.

 - Frequently the formatting is copied also, making the copying quite obvious: Examples: 

    - [Toggle Bootstrap button text on button click?](https://stackoverflow.com/questions/28500650/toggle-bootstrap-button-text-on-button-click/78483606#78483606),   
    - [Stop pasting html style in a contenteditable div only paste the plain text](https://stackoverflow.com/a/78460083/3744182), 
    - [Display a loading bar before the entire page is loaded](https://stackoverflow.com/a/78436145/3744182), 
    - [fullcalendar timegridweek don't show events time properly](https://stackoverflow.com/a/78434147/3744182), 
     - [Issues implementing SHA256 hash, then pbkdf2Sync and finally cipher with AES-256-cbc - c# to Nodejs](https://stackoverflow.com/a/78420082/3744182), 
    - [Overlay image on div](https://stackoverflow.com/questions/66296450/overlay-image-on-div/78450467#78450467) 
      <br>(subsequently edited to change `<!-- begin snippet: js hide: false console: true babel: null -->` to `<!-- begin snippet: js hide: false console: true babe2: null -->`)
    - [PDF file to be displayed on the dialog modal via bootstrap](https://stackoverflow.com/a/78436356/3744182), 
      
 - But sometimes the formatting is not copied so the posts look quite different.  Examples: 

    - [How to count Total Downline , Give me any Idea (MLM project)](https://stackoverflow.com/revisions/78472913/1), 
    - [How to add Haptic Feedback / Vibrations in react native app?](https://stackoverflow.com/revisions/78441640/1), 
    - [Chrome Extension get selected text](https://stackoverflow.com/a/78433797/3744182), 

 - Occasionally code is copied from multiple answers:  Examples: 

    - [Change background color randomly and automatically after 1 second](https://stackoverflow.com/a/78443777/3744182), 

 - Or the code is truncated:  Examples: 

    - [How to scrape football week results](https://stackoverflow.com/a/78427290/3744182).

One or two plagiarized answers per day doesn't sound like a lot, but that's just what I noticed by checking the NATO feed for a few hours on several days in the past couple weeks.  Assuming my sample was random we're talking hundreds per year.  It's enough that I can manually raise "Plagiarism" flags faster than mods seem to be handling them.  And while reviewers in the "Late Answers" queue are, according to [this answer](https://meta.stackoverflow.com/a/405242/3744182) to *https://meta.stackoverflow.com/q/405181/3744182*, supposed to check for internal plagiarism:

 > the Late Answers queue is a bit different from others insofar as checking for internal plagiarism (i.e. copies of other answers to the same question) should (IMHO) be an inherent part of the review process.

it doesn't seem to be working.

Is there some **automated** way we can block such answers or screen them out?  And if so, what should we do?  I'm not sure that "better onboarding" would be the solution here, such trivially obviously copied answers border on being abusive.  If we warn the poster about their plagiarism while they are creating their post, then (assuming they are not bots) they will probably just tweak the post a little, so maybe a plagiarism flag should be automatically raised instead?