I can't seem to figure out how to set a string array equal to a particular character string. For example:

Code:
char yourname[40];

yourname = 'Will Ferrell';
I know the above is not valid, but that is what I'm trying to do.