package common
import (
"io"
"os"
)
func copyFile(dst, src string) error {
s, err := os.Open(src)
if err != nil {
return err
}
defer s.Close()
d, err := os.Create(dst)
defer d.Close()
if _, err := io.Copy(d, s); err != nil {
return nil