blob: 7dfeb3846b3c1e387f71b5244f435e9940cd4a2e [file] [log] [blame]
scr@chromium.org12722e32011-11-10 06:55:09 +09001#!/usr/bin/python
2# Copyright (c) 2011 The Chromium Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import shutil, sys;
7
8""" Copy File.
9
10This module works much like the cp posix command - it takes 2 arguments:
11(src, dst) and copies the file with path |src| to |dst|.
12"""
13
14def Main(src, dst):
15 return shutil.copyfile(src, dst)
16
17if __name__ == '__main__':
18 sys.exit(Main(sys.argv[1], sys.argv[2]))