glmDuplicateBehaviors

You can duplicates behaviors inside the Behavior Editor with CTRL+D. However if you want to directly duplicates behaviors/operators, you can use the following helpers functions:
float glmDuplicateBehaviors(string behaviorsToDuplicate[], string parentContainer, string targetContainer, int connectToFinalNode, int deltaYPosition)