CopyTicks function for MT4

Is there a way to mimic or replicate the CopyTicks function in mql4

Not really! MT4 does not support an Historical Database of Tick Data. You can however, code your own Tick Data gathering procedure and create your own database for future use.

I need tick data for EUR USD since 1999 for 1 hr…can someone give?

Timeframe is not matter for tick data.

You can export ticks from any mt5 broker to a file.

Then load it in you Indicator or EA and use as you wish.

You can download historical tick data from TrueFx

Thank you all for your kind replies