- WeldxFile.copy(filename_or_file_like=None, overwrite=False)#
Take a copy of this file.
Depending on the underlying file type this does several different things.
None]) – The desired output file. If no file is given, an in-memory file will be created.
bool) – If
filename_or_file_likepoints to a path or filename which already exists, this flag determines if it would be overwritten or not.
The new instance with the copied content.
- Return type: