跳至主要內容

芒果凍布丁2026/4/18小於 1 分鐘

copy

複製檔案。

語法
copy(source: string, target: string): void
範例
// 這將複製 old/example.txt 到 new/example.txt
FilesJS.copy('old/example.txt', 'new/');
最近更新:
貢獻者: EvanHsieh0415