Got the solution
Coding is little rough but its worked
Thanks
app.beginUndoGroup("Dublicate Layers");
var thisComp = app.project.activeItem;
var activeItem = app.project.activeItem;
var activeLayers = activeItem.layers;
var d = app.project.activeItem.selectedLayers[0].index;
for (var i = 0; i < thisComp.selectedLayers.length; i++){
curLayer = thisComp.selectedLayers[i].duplicate();
app.project.activeItem.layer(d).moveBefore(app.project.activeItem.layer(d+4));
}
app.endUndoGroup();