How can i copy paste a task using dhtmlx

I need some help on how to copy paste a task using dhtmlx .
also on what action can i do it as in my application i dont have the right click enabled

Could you please, clarify what dhtmlx component are you using?