Duplicated Doctype, but code doesn't carry over

Hello everyone,

I have duplicated a default doctype, but the code did not carry over. It does not calculate the totals or autofill any information. I would like to have a custom doctype with the same functionality as a default doctype. Is this possible and if so how would I go about doing this?

I know you can add custom scripts, but that requires a large amount of coding to get the same functionality as the default doctype.

Any help is appreciated.