This repo contains the code for an Azure Function that will replicate blobs from one Azure storage account to another. For more information, check out the following blog posts on how to set this up.
Adding managed service identity to the solution: https://blogs.msdn.microsoft.com/cloud_solution_architect/2017/12/22/using-managed-service-identities-in-functions-to-access-key-vault/