Secondary Menu display Primary Menu

You’ve got the code close, but incorrect. It is a spelling issue.

It should be:

<?php wp_nav_menu(array('theme_location'=>'primary')); ?>
<?php wp_nav_menu(array('theme_location'=>'secondary')); ?>

Please note that in your array you are using the_location and not theme_location. I believe with your mistake the menu will default to the primary menu (though I haven’t confirmed this).