put the contents of one field into another field upon form submit
I think it'll work if you implement hook_form_submit() hook for this form, and in that function set the value of one field to another.

E.g.,

FORM_ID_form_submit($form, &amp;$form_state) {
  $form_state['values']['email'] = $form_state['values']['mail']; 
}


If your fields are fields of a content then replace the above line with this:

$form_state['values']['email']['und'][0]['value'] = $form_state['values']['mail']['und'][0]['value'];