Back it up (using iTunes or iCloud), then restore your new iPod using the same system. Alternatively, if you're just interested in flashcards you can use the "Backup Database" command on your old iPod to back up your flashcard database, then email it to yourself or share it with the new iPod via Settings / Share Files.