How to Apply a PowerPoint Master/Theme from One Presentation to Another?

@umairm1alik,
Unfortunately, I was unable to reproduce the error you are encountering. I see the same error on my end only when an incorrect path is passed to the copyMasterSlide and getPresentation methods.