Copy and paste Keyframes

It is not very apparent on how to copy and paste keyframes in the curve editor. Well how do you do it? I have been selecting the whole spline and then go to the curve editor and then what? I see the copy and paste buttons in the curve editor but thay are not active.

Thanks in advance