Molecular-dynamics study of mechanical properties of copper