iOS FileUtils.copyfile possible?(Physical Device)

Hi, I have been trying out Appium Studio for IntelliJ for about a month now and have been enjoying using it for android. Recently, I am required to start working on iOS mobile automation and I reached a road block. I am using a physical iOS device for testing.
My goal: Screenshot current page, attach to email and send.
My issue is getting the filepath for iOS photos album and I do not know if it is even possible to screenshot and save it the physical device. Is there anyway to implement this or does iOS devices requires some sort of permission to copy files? Sorry if it is a amateur question, I have never touched iOS.

This is the function I used for my android implementation
public static void screenshot(String filename, String filepath) throws IOException {
String date = new SimpleDateFormat(“yyyy-MM-dd hh-mm-ss’.jpg’”).format(new Date());
File file = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(file, new File(filepath +filename+ date));
}

I think this more of a question to know how to get the path of the file. I am not sure if this is related to Appium Studio per say. I am not completely sure if permission is a problem here

I am sure iOS users may know how to capture the file path