Is a code refactoring rule of thumb to decide when a replicated piece of code should be replaced by a new code/procedures/methods. It states that you are allowed to copy and paste the code once, but that when the same code is replicated three times, it should be extracted into a new procedure.
Full article