The native solution that QB provides is called the "Copy Master And Details Record"
http://help.quickbase.com/user-assistance/#copy_master_detail.htmlFor some use cases this works, and many people (including "partners" of quickbase) use this method on a regular basis.
But, when you want any advanced use cases, dependancies, or dynamic updates you will need to use a "template table" and use a custom javascript code page to copy the template to the new parent.
Give the native option a run, and if you get stuck or need something more, let me know.