If you duplicate an object with behaviors, the behaviors will be automatically duplicated alongside the behavior.
Tap on the object that you wish to duplicate.
Find the duplicate button located at the top left of your screen. Tap on this button.
After clicking the duplicate button, halos will appear over the selected object. Tap on one of these halos to bring the new object into your game. If this object has a behavior, it will automatically be duplicated as well.