i have two field one is emailid and another is password in my form. i want to detect that when user reenter the email and password than he should not able to copy the above. he
There are copy and paste events you can use to prevent these actions, or to modify the data being copied or pasted. (see the links for browser support)
Or the longer javascript version:
const elem = document.getElementById('nopaste');
elem.addEventListener('paste', (event) => {
event.preventDefault();
});