Remove the liner from the tennis shoes and then the insole from the liner. Don't throw the insoles away
You may find that your tennis shoes do not have removable insoles. If this is the case, then simply find a pair of sports shoes that do. Insert them into tennis shoes to see if they fit as well they did in the shoes you removed them from. If so use these as your template and move onto Step 2.