python – How to paste matched text multiple times?

I have text:

0 -> {
    }
    1 -> {
    }
    2 -> {
    }
    3 -> {
    }

and I want to copy and paste this text multiple times at once with Notepad++ Python Script, Android Studio or other tools to be like this:

0 -> {
    }
    1 -> {
    }
    2 -> {
    }
    3 -> {
    }
0 -> {
    }
    1 -> {
    }
    2 -> {
    }
    3 -> {
    }
0 -> {
    }
    1 -> {
    }
    2 -> {
    }
    3 -> {
    }

How can I do that?