Hi @RameshMukka
In my understanding, you want to get the email addresses in To, From and Cc sections into an array.
If I’ve misunderstood your need, please feel free to let me know.
I’ve created a flow as below:
Because email addresses in To, From and Cc sections are stored as string type.
So, first, you can use concat() to connect those email addresses with “;”.
Then, check if Cc section is empty. If empty, only connect email addresses in To, From sections. If not empty, connect email addresses in To, From and Cc sections.
Last, convert the string containing all email addresses to array.
The whole flow is as below:

The detailed steps for apply to each are:

The functions are:
empty(items('Apply_to_each')?['ccRecipients'])
concat(items('Apply_to_each')?['from'],';',items('Apply_to_each')?['toRecipients'],';',items('Apply_to_each')?['ccRecipients'])
concat(items('Apply_to_each')?['from'],';',items('Apply_to_each')?['toRecipients'])
split(variables('emails'),';')
The output is:

Best Regards,
Community Support Team _ Kira Xie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.