I want to change my blob type from Append Blob to BlockBlob. According to How to convert from Azure Append Blob to Azure Block Blob This is not possible. I, therefore, want to make a copy
var container = blobClient.GetContainerReference("videos");
var sourceBlob = container.GetAppendBlobReference(blobName);
var newBlobName = blobName + "FinalBlob";
var targetBlob = container.GetBlobReference(newBlobName);
targetBlob.StartCopyAsync(sourceBlob.Uri).Wait();
The resulting blob is an Appendblob, not BlockBlob