How to code inside the ea to copy trades to other symbols?

 
Hey guys i am creating an ea in which i want to copy trades to other symbols on the acc using symbols in input. How do i do that . Please give any reference to study. 
 

Have you already learned to search: https://www.mql5.com/en/search ?

Now you have to enter: copy trading can you do that? Finally filter for Code Base.