Copy a file to a specfic RHEL version

Hi Guys,

Need you help in copying a file on specific RHEL version.

ex:

copy 6.txt when RHEL version = 6

Thanks in advance!

copy sourcefile.txt {major version of operating system}.txt

Thanks JasonWalker. Will try your suggestion.