To copy, the last three letters must be "auxiliary-yuan-auxiliary" in form, and that vowel letter has a closed syllable (not its own pronunciation), and the last syllable before copying must be a stressed syllable. Enter, and finally the letter combination er, is not a closed syllable of vowels, nor is it a stressed syllable. So don't write double.
Prefer is a special case.