filesystem.copy_file
code:Lua
textmodule.filesystem.copy_file(from, to, opt1, ...)
モジュール
filesystem
引数
table:_
変数 型 概要
1 from string コピー元のパス
2 to string コピー先のパス
3 opt1 string コピーオプション(省略可)
...
n optN string コピーオプション(省略可)
概要
指定したパス
from
のファイルを、新たなパス
to
へとコピーする。
任意の個数の
コピーオプション
を文字列
opt1, ...
で指定することができる。