You could try this:
textFrame1.insertionPoints.parentStory.paragraphs.itemByRange (0,2).duplicate (LocationOptions.AFTER, textFrame2.insertionPoints);
Let me know if you need further assistance.
If you want to replace the contents in textFrame1 by textFrame2's selective paragraphs means try this,
textFrame1.contents = textFrame2.paragraphs.itemByRange(0,2).contents.toString();
Your code will append the contents in textFrame1.
Right... as long as there is text there. If it is empty, then it will be ok.
Thank you so much Michael.
It works perfectly
Thank you Dillibabu M,
Text Frame does not seem to support contents property.
I will spend some time to look into it.
Your code definitely works flawlessly if I know better.