How can I copy a form correctly?