Add code

Write a code that is:
Opens data.txt, if it exists then put it out on screen. If it doesn't exist then create it, write in it your full name. Also, write our all the first 5 double number that can be divided by 2 but not by 6. Put this all out on the screen. 
Create a copy of this file and name it to 'copy.dat'